<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
	<group name="北京公交">
		<item name="北京公交线路" type="relation">
			<label text="设置一个北京公交线路" />

			<combo key="route" text="Type" values="bus,trolleybus" default="bus"/>
			<text key="ref" text="路号" />
			<text key="from" text="起点" />
			<text key="to" text="终点" />
			<text key="via" text="途经（可不填）" />
			<text key="name" text="名字" value_template="{ref}路：{from} -> {to}"/>
			<text key="name:zh" text="中文名" value_template="{name}"/>
			<text key="opening_hours" text="运营时间" default="Mo-Su 05:30-22:00"/>

			<check key="roundtrip" text="回环线" default="no" />

			<key key="type" value="route" />
			<key key="public_transport:version" value="2" />
			<key key="network" value="北京公交" />
			<key key="network:zh" value="北京公交" />
			<key key="network:en" value="Beijing Public Transport" />
			<key key="network:wikidata" value="Q4881181" />
			<key key="network:wikipedia" value="zh:北京公交" />

			<key key="fee" value="yes" />
			<check key="payment:alipay" text="支付宝支付" default="on" />
			<check key="payment:cash" text="现金支付" default="on" />
			<check key="payment:china_t-union" text="交通联合（China T-Union）支付" default="on" />
			<check key="payment:coins" text="硬币支付" default="on" />
			<check key="payment:ic" text="IC卡支付" default="on" />
			<check key="payment:unionpay" text="银联支付" default="on" />
			<check key="payment:wechat" text="微信支付" default="on" />
		</item>

		<item name="北京公交主线路" type="relation">
			<key key="type" value="route_master"/>
			<combo key="route_master" text="Type" values="bus,trolleybus" default="bus"/>
			<text key="ref" text="路号" />
			<text key="name" text="名字" value_template="北京公交{ref}路"/>
			<text key="name:zh" text="中文名" value_template="{name}"/>
			<text key="operator" text="运营单位" />
			<key key="network" value="北京公交" />
			<key key="network:zh" value="北京公交" />
			<key key="network:en" value="Beijing Public Transport" />
			<key key="network:wikidata" value="Q4881181" />
			<key key="network:wikipedia" value="zh:北京公交" />
		</item>
	</group>
</presets>
